<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>文件上传</h1>
    <form action="/upload" method="post" enctype="multipart/form-data">
        标题： <input type="text" name="title"> <br />
        头像： <input type="file" name="photo"> <br>
        <input type="submit" value="上传" i class="layui-icon">&#xe67c;</i>
    </form>
    </form>
</body>
</html>